package com.geper.pattern.payFactory.factory;

/**
 * @author: lsy
 * @date: 2020-02-24 17:56
 * @description: FactoryTest
 */
public class FactoryTest {
    public static void main(String[] args) {
        AlipayFactory factory = new AlipayFactory();
        factory.payFail().payFail();
        factory.paySuccess().paySuccess();
    }
}
